import java.awt.Color;
//import java.awt.
import java.awt.*;

import javax.swing.JFrame;
import javax.swing.JPanel;



public class Frame {
public static void main(String[]args){
	
	JFrame frame = new JFrame ("Find the bomb");
	//JPanel panel = new JPanel();
	//panel.setVisible(true);
	
	  //GenerateLevel levels = new GenerateLevel("C:\\My Documents\\map.txt");
	  Board board = new Board();
	  frame.add(board);
	  Toolkit tk = Toolkit.getDefaultToolkit();
	    Dimension d = tk.getScreenSize();
	  //panel.setSize(d.width, d.height);
	  //board.setLevels(levels.getLevels());
	

	// Get the size of the default screen
	
//frame.setSize(d.width,d.height);


	frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

	frame.setVisible(true);
	
}
}
